import matplotlib.pyplot as plt

# 定义两条曲线的数据
x1 = [0, 1, 2, 3, 4, 5]
y1 = [5, 4, 3, 3, 2, 2]
x2 = [0, 1, 2, 3, 4, 5]
y2 = [15, 14, 13, 13, 12, 12]

# 绘制两条曲线
plt.plot(x1, y1, label='Curve 1', color='blue')  # 第一条曲线
plt.plot(x2, y2, label='Curve 2', color='red')   # 第二条曲线

# 填充两条曲线之间的区域
plt.fill_between(x1, y1, y2, color='yellow', alpha=0.5, label='Filled Area')

# 添加图例
plt.legend()

# 添加标题和标签
plt.title('Curves with Filled Area')
plt.xlabel('X-axis')
plt.ylabel('Y-axis')

# 显示图形
plt.show()